﻿using System;
using UnityEngine;
using ActionSystem.Core;
using XMLib;
using ActionSystem.Core.AnimationLogic;

namespace ActionSystem.Character
{
    public abstract class BaseCharacterState:BaseState,IAnimationName
    {
        [CustomLabel("动画名称")]
        [Drawable]
        [SerializeField]
        [AnimationName]
        string animtionName = "animation name";
        /// <summary>
        /// 如果是Animator则是base层的statename
        /// </summary>
        public string AnimationName => animtionName;

        public string GetAnimationName()
        {
            return AnimationName;
        }
    }
}
